package main

import (
	"fmt"
	"lite-json-golang/net"
	"os/exec"
)

func main() {
	startServer()
}

func startServer() {
	s := &net.JsonServer{}
	s.Start(9527)
	cmd := exec.Command(`cmd`, `/c`, `start`, `http://localhost:9527`)
	err := cmd.Start()
	if err != nil {
		fmt.Println(err.Error())
	}
}
